
.global main

_start:
    mov x0, #0x531  // non-secrue
    msr scr_el3, x0

    mrs x0, cptr_el3
    bic x0, x0, #0x1<<10 /*disable fp trap to el3*/
    msr cptr_el3, x0

    mrs x0, cptr_el2
    bic x0, x0, #0x1<<10 /*disable fp trap to el2*/
    msr cptr_el2, x0

    // msr hstr_el2, xzr       /* Disable coprocessor traps to EL2 */
    // mov x0, #3 << 20
    // msr cpacr_el1, x0       /* Enable FP/SIMD at EL1 */

    ldr x1, =0x90000000
    mov sp, x1
    bl main


